﻿@model Football.ViewModels.GameViewModel
@{
    ViewBag.Title = "Midweek Football";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h2>@Model.PlayerCountTitle</h2>
            </hgroup>
            <p>
                The next game is on <mark>@Model.StartDate</mark> at <mark>@Model.StartTime</mark>
            </p>

            @using (Html.BeginForm())
            {
    @Html.ValidationSummary()

    <fieldset>
        @Html.EditorFor(m => m.NewPlayerName)
        <input type="submit" value="Add Player!" />
    </fieldset>
            }
        </div>
    </section>
}

@Html.Partial("_PlayerList", Model)


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")

}
